﻿using MenesDroid;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace XNA_Game_Engine.GUI
{
    public class OptionsMenu
    {
        public bool IsVisible { set; get; }
        public Botoes Bot { set; get; }
        public double KeepClickTime { set; get; }

        public OptionsMenu()
        {
            Bot = new Botoes();
            KeepClickTime = 0;

        }

        public void Update(GameTime gameTime)
        {
            if (IsVisible && Bot != null)
            {
                Bot.Update();
            }
        }

        public void Draw(SpriteBatch render)
        {
            if (IsVisible && Bot != null)
            {
                Bot.Draw(render);
            }
        }
    }
}
